package com.liy.framework.common.annotation;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD, ElementType.PARAMETER })
@Documented
public @interface MethodPermission {
    boolean check() default true;
    
    String[] codes();
    
    String description() default "";
    
    String share() default "2";
    
    String message() default "have no permission";
}
